<html>
  <head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>DeviceUtils</title>
<link href="../../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async="async"></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.css" rel="Stylesheet"><script type="text/javascript" src="../../../scripts/clipboard.js" async="async"></script><script type="text/javascript" src="../../../scripts/navigation-loader.js" async="async"></script><script type="text/javascript" src="../../../scripts/platform-content-handler.js" async="async"></script><script type="text/javascript" src="../../../scripts/main.js" async="async"></script>  </head>
  <body>
    <div id="container">
      <div id="leftColumn"><a href="../../../index.html">
          <div id="logo"></div>
        </a>
        <div id="paneSearch"></div>
        <div id="sideMenu"></div>
      </div>
      <div id="main">
        <div id="leftToggler"><span class="icon-toggler"></span></div>
<script type="text/javascript" src="../../../scripts/main.js"></script>        <div class="main-content" id="content" pageIds="Engine::com.drake.engine.utils/DeviceUtils///PointingToDeclaration//-1683276876">
          <div class="navigation-wrapper" id="navigation-wrapper">
            <div class="breadcrumbs"><a href="../../../index.html">Engine</a>/<a href="../index.html">com.drake.engine.utils</a>/<a href="index.html">DeviceUtils</a></div>
            <div class="pull-right d-flex">
              <div id="searchBar"></div>
            </div>
          </div>
          <div class="cover ">
            <h1 class="cover"><span>Device</span><wbr></wbr><span>Utils</span></h1>
            <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">class <a href="index.html">DeviceUtils</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="sample-container"><code class="" theme="idea"><pre>    author: Blankj
    blog  : http://blankj.com
    time  : 2016/8/1
    desc  : utils about device
</pre></code></div></div></div>
          </div>
          <div class="tabbedcontent">
            <div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Functions">Functions</button></div>
            <div class="tabs-section-body">
              <h2 class="">Functions</h2>
              <div class="table" data-togglable="Functions"><a data-name="-1621145447%2FFunctions%2F-1683276876" anchor-label="getAndroidID" id="-1621145447%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-android-i-d.html">getAndroidID</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1621145447%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-android-i-d.html">getAndroidID</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1621145447%2FFunctions%2F-1683276876" anchor-label="getAndroidID" id="-1621145447%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1621145447%2FFunctions%2F-1683276876" anchor-label="getAndroidID" id="-1621145447%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Return the android id of device.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="135950098%2FFunctions%2F-1683276876" anchor-label="getMacAddress" id="135950098%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-mac-address.html">getMacAddress</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="135950098%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace"><div class="block"><div class="block">@<a href="https://developer.android.com/reference/kotlin/androidx/annotation/RequiresPermission.html">RequiresPermission</a>(<span>allOf = []</span><wbr></wbr>)</div></div>open fun <a href="get-mac-address.html">getMacAddress</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="135950098%2FFunctions%2F-1683276876" anchor-label="getMacAddress" id="135950098%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="135950098%2FFunctions%2F-1683276876" anchor-label="getMacAddress" id="135950098%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Return the MAC address.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1568894438%2FFunctions%2F-1683276876" anchor-label="getManufacturer" id="1568894438%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-manufacturer.html">getManufacturer</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1568894438%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-manufacturer.html">getManufacturer</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1568894438%2FFunctions%2F-1683276876" anchor-label="getManufacturer" id="1568894438%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1568894438%2FFunctions%2F-1683276876" anchor-label="getManufacturer" id="1568894438%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Return the manufacturer of the product/hardware.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1653307110%2FFunctions%2F-1683276876" anchor-label="getModel" id="-1653307110%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-model.html">getModel</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1653307110%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-model.html">getModel</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1653307110%2FFunctions%2F-1683276876" anchor-label="getModel" id="-1653307110%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1653307110%2FFunctions%2F-1683276876" anchor-label="getModel" id="-1653307110%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Return the model of device.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="145204780%2FFunctions%2F-1683276876" anchor-label="getSDKVersionCode" id="145204780%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-s-d-k-version-code.html">getSDKVersionCode</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="145204780%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-s-d-k-version-code.html">getSDKVersionCode</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="145204780%2FFunctions%2F-1683276876" anchor-label="getSDKVersionCode" id="145204780%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="145204780%2FFunctions%2F-1683276876" anchor-label="getSDKVersionCode" id="145204780%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Return version code of device's system.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-1484675250%2FFunctions%2F-1683276876" anchor-label="getSDKVersionName" id="-1484675250%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="get-s-d-k-version-name.html">getSDKVersionName</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1484675250%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="get-s-d-k-version-name.html">getSDKVersionName</a>(): <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-1484675250%2FFunctions%2F-1683276876" anchor-label="getSDKVersionName" id="-1484675250%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-1484675250%2FFunctions%2F-1683276876" anchor-label="getSDKVersionName" id="-1484675250%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Return the version name of device's system.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="1716082956%2FFunctions%2F-1683276876" anchor-label="isDeviceRooted" id="1716082956%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="is-device-rooted.html">isDeviceRooted</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1716082956%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="is-device-rooted.html">isDeviceRooted</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="1716082956%2FFunctions%2F-1683276876" anchor-label="isDeviceRooted" id="1716082956%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="1716082956%2FFunctions%2F-1683276876" anchor-label="isDeviceRooted" id="1716082956%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Return whether device is rooted.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="350026943%2FFunctions%2F-1683276876" anchor-label="reboot" id="350026943%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="reboot.html">reboot</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="350026943%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="reboot.html">reboot</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="322718504%2FFunctions%2F-1683276876" anchor-label="reboot" id="322718504%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="322718504%2FFunctions%2F-1683276876" anchor-label="reboot" id="322718504%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Reboot the device.</div></div>
<div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="reboot.html">reboot</a>(reason: <a href="https://developer.android.com/reference/kotlin/java/lang/String.html">String</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-2026134237%2FFunctions%2F-1683276876" anchor-label="reboot" id="-2026134237%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-2026134237%2FFunctions%2F-1683276876" anchor-label="reboot" id="-2026134237%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Reboot the device.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="155101179%2FFunctions%2F-1683276876" anchor-label="reboot2Bootloader" id="155101179%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="reboot2-bootloader.html">reboot2Bootloader</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="155101179%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="reboot2-bootloader.html">reboot2Bootloader</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="155101179%2FFunctions%2F-1683276876" anchor-label="reboot2Bootloader" id="155101179%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="155101179%2FFunctions%2F-1683276876" anchor-label="reboot2Bootloader" id="155101179%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Reboot the device to bootloader.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-758532949%2FFunctions%2F-1683276876" anchor-label="reboot2Recovery" id="-758532949%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="reboot2-recovery.html">reboot2Recovery</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-758532949%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="reboot2-recovery.html">reboot2Recovery</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-758532949%2FFunctions%2F-1683276876" anchor-label="reboot2Recovery" id="-758532949%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-758532949%2FFunctions%2F-1683276876" anchor-label="reboot2Recovery" id="-758532949%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Reboot the device to recovery.</div></div>
</div>
                    </div>
                  </div>
                </div>
<a data-name="-380937833%2FFunctions%2F-1683276876" anchor-label="shutdown" id="-380937833%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>
                <div class="table-row" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release">
                  <div class="main-subrow keyValue ">
                    <div class=""><span class="inline-flex"><a href="shutdown.html">shutdown</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-380937833%2FFunctions%2F-1683276876"></span>
                          <div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
                        </span></span></div>
                    <div>
                      <div class="title"><div class="divergent-group" data-filterable-current=":engine:dokkaHtml/release" data-filterable-set=":engine:dokkaHtml/release"><div class="with-platform-tags"><span class="pull-right"></span></div>

  <div>
    <div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":engine:dokkaHtml/release"><div class="symbol monospace">open fun <a href="shutdown.html">shutdown</a>()<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
  </div>
<a data-name="-380937833%2FFunctions%2F-1683276876" anchor-label="shutdown" id="-380937833%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a><div class="brief "><a data-name="-380937833%2FFunctions%2F-1683276876" anchor-label="shutdown" id="-380937833%2FFunctions%2F-1683276876" data-filterable-set=":engine:dokkaHtml/release"></a>Shutdown the deviceRequires root permissionor hold <code>{@code android:sharedUserId=&quot;android.uid.system&quot;}</code>, <code>{@code </code></div></div>
</div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
      </div>
    </div>
  </body>
</html>

